'''
Created on Apr 2, 2013

@author: kevinbauer
'''

import sys

from TrainingData import TrainingData
from TestingData import TestingData
from NeuralNetwork import NeuralNetwork
from TestData import Test
from Validation import Validate

# Import the data
training = TrainingData(sys.argv[1])
testing = TestingData(sys.argv[2])
print "Loaded the data.\n"

# Construct the neural network
neural = NeuralNetwork(training.getAttackData())
hypothesis = neural.hypothesize()
print "Developed hypothesis.\n"

# Initialize the test
t = Test(hypothesis, testing.getTestingData())

# Get the results from the test
results = t.runTest()
print "Obtained results\n"

# Validate the results
valid = Validate(results, testing.getTestingType())
valid.compare()




